package com.syygl.chaseDemo.service;

import com.syygl.chase.annotation.NeedLoadedDataTag;
import com.syygl.chaseDemo.entity.Object4AllLifeCycle;
import org.springframework.stereotype.Service;

@Service
public class ServiceTest2 {

    @NeedLoadedDataTag(parallelPrepareData = {"serviceTest1#prepareUser"})
    public void test2(Object4AllLifeCycle object4AllLifeCycle){

        System.out.println(object4AllLifeCycle.getUserEntity().getName());
    }
}
